package org.mappland.compltres.common;

import lombok.Getter;

/*
    设置返回信息，枚举类型
 */
@Getter
public enum StatusCode {

    COMMON_SUCCESS(ConstantCode.SUCCESS, "成功。"),
    COMMON_FAIL(ConstantCode.FAIL, "失败")
    ;


    private Integer code;
    private String message;

    StatusCode() {
    }

    StatusCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
